home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / 000113_amos-request@svcs1.digex.net_Mon Apr 14 04:35:24 1997.msg < prev    next >
Text File  |  1998-06-24  |  2KB  |  62 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id EAA06066
  3.     for <mcox@access.digex.net>; Mon, 14 Apr 1997 04:35:23 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id CAA11997
  6.     for amos-out; Mon, 14 Apr 1997 02:15:43 -0400 (EDT)
  7. Received: from mail3.access.digex.net (mail3.access.digex.net [205.197.247.4])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id CAA11994
  9.     for <amos-list@svcs1.digex.net>; Mon, 14 Apr 1997 02:15:42 -0400 (EDT)
  10. Received: from relay-7.mail.demon.net (relay-7.mail.demon.net [194.217.242.9])
  11.     by mail3.access.digex.net (8.8.5/8.8.5) with SMTP id CAA28540
  12.     for <amos-list@access.digex.net>; Mon, 14 Apr 1997 02:15:41 -0400 (EDT)
  13. Date: Mon, 14 Apr 1997 02:15:41 -0400 (EDT)
  14. Received: from h155.redrose.net ([208.7.248.155]) by relay-5.mail.demon.net
  15.            id aa0522996; 14 Apr 97 6:57 BST
  16. X-Sender: mushy-pd@pop3.demon.co.uk
  17. X-Mailer: Windows Eudora Version 2.1.1
  18. Mime-Version: 1.0
  19. Content-Type: text/plain; charset="us-ascii"
  20. To: amos-list@access.digex.net
  21. From: Mush <mpd@mushy-pd.demon.co.uk>
  22. Subject: Line problems
  23. Message-ID: <860997425.0522996.0@h155.redrose.net>
  24. Status: O
  25. X-Status: 
  26.  
  27. Im having a spot of bother. Im trying to work out the top and bottom
  28. coordinates for an irregular shape box. Heres what I mean:
  29.  
  30.     top left:   5,5                      top right:  75,20
  31.  
  32.  
  33.  
  34.    bot left    5,105                    bot right:  75,90
  35.  
  36.  
  37. As you can probably work out, the box is not the same height on both sides.
  38. I would like to know how to find the top and bottom line coords (where the
  39. pixel is) in the fastest possible way, using an algorythm that can work this
  40. out no matter what size the other sides are.
  41.  
  42. The routine I have at the moment uses IF...ENDIF to find it, but it is way
  43. too slow.
  44.  
  45. Thanks in advance
  46.  
  47. Mush
  48.  
  49.   --------******( Extreme AMOS )******--------
  50.  
  51. The best AMOS homepages around, full of downloads, and my AMOS disk
  52. magazine. Order games and utilities  directly from the library, for FREE.
  53.  
  54.           See my homepages at http://www.mushy-pd.demon.co.uk or
  55. http://members.tripod.com/~mushypd for more information.
  56.  
  57.       Email: mpd@mushy-pd.demon.co.uk      mpd@computer4u.com
  58.                                   mushy_pd@hotmail.com
  59.  
  60.                    Look for Mush now on IPhone in AMOS!!
  61.                               ICQ No. - 778243 (talk to me!!)
  62.